<?php
include_once '!config.php';
use models\Field as Field;

switch($_GET['action'])
{
    case 'setDisplay'       :   echo Field::setDisplay($_POST['type'], $_POST['newStatus'], $_POST['fieldId'], $_POST['itemId']);
                                break;
                            
    case 'setFieldSequence' :   echo Field::setFieldSequence();
                                break;
} 
?>
